/* Drive.h
 *
 *  Created on: March 16, 2013
 *      Author: FEAR
 */

#ifndef DRIVE_H_
#define DRIVE_H_

#include "WPILib.h"


class Drive
{
public: 
	Drive(UINT32 joystickChannel, UINT32 leftMotorChannel, UINT32 rightMotorChannel);
	~Drive();
	void drive();
	void HaloDrive();
	float getLeftVal() const;
	float getRightVal() const;
	
private:
	Victor * leftMotor;
	Victor * rightMotor;
	Joystick * xbox;
	//Joystick * js2;
	float Limit(float num);
	void setMotors(float passLeft, float passRight);
	float leftVal;
	float rightVal;
};

#endif
